package com.eims.sls_app.dataaccess;

import java.io.Serializable;
import java.text.DecimalFormat;
import java.util.List;

/**
 * 账户明细item数据
 * 
 * @author zht
 * 
 */

public class ContentData implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	// private int id; // 传值id
	//
	// private String orderTime; // 日期
	//
	// private String description; // 描述
	//
	// private double money; // 金额
	//
	// private double handselAmount; // 彩金
	//
	// private int orderType; // 订单类型 -1：充值 0：普通代购订单 1：合买订单 2：追号订单
	//
	// private String orderTitle; // 标题
	//
	// private int type; // 类型 1：投注 2：中奖 3：充值 4：提款
	//
	// private int schemeId;// 方案表ID
	//
	//
	//
	//
	//
	// public int getId() {
	// return id;
	// }
	//
	// public void setId(int id) {
	// this.id = id;
	// }
	//
	//
	//
	//
	//
	//
	// public String getOrderTime() {
	// return orderTime;
	// }
	//
	// public void setOrderTime(String orderTime) {
	// this.orderTime = orderTime;
	// }
	//
	// public String getDescription() {
	// return description;
	// }
	//
	// public void setDescription(String description) {
	// this.description = description;
	// }
	//
	// public int getOrderType() {
	// return orderType;
	// }
	//
	// public void setOrderType(int orderType) {
	// this.orderType = orderType;
	// }
	//
	//
	//
	// public String getOrderTitle() {
	// return orderTitle;
	// }
	//
	// public void setOrderTitle(String orderTitle) {
	// this.orderTitle = orderTitle;
	// }
	//
	// public int getType() {
	// return type;
	// }
	//
	// public void setType(int type) {
	// this.type = type;
	// }
	//
	//
	//
	//
	// public double getMoney() {
	// DecimalFormat format=new DecimalFormat("#####0.00");
	// return money;
	// }
	//
	// public void setMoney(double money) {
	// this.money = money;
	// }
	//
	//
	// public String getHandselAmount() {
	// DecimalFormat format=new DecimalFormat("#####0.00");
	// return format.format(handselAmount);
	// }
	//
	// public void setHandselAmount(double handselAmount) {
	// this.handselAmount = handselAmount;
	// }
	//
	// public int getSchemeId() {
	// return schemeId;
	// }
	//
	// public void setSchemeId(int schemeId) {
	// this.schemeId = schemeId;
	// }

	/** 基本数据 */
	private String id; // 方案ID
	private String schemeNumber; // 订单号
	private String money; // 方案总金额
	private String lotteryID; // 彩种ＩＤ
	private String lotteryName; // 彩种名称
	private String playTypeID; // 玩法ID
	private String playTypeName; // 玩法名称
	private String countNotes;// 玩法注数

	private String lotteryNumber; // 投注内容
	private List<LotteryContent> buyContent; // 投注玩法内容
	private String dateTime; // 方案发起时间
	private String multiple; // 倍数
	private String isuseID; // 奖期ID
	private String winNumber; // 开奖号码
	private String isuseName; // 奖期名称
	private String SerialNumber; // 数据在全部数据中的位置
	private String RecordCount; // 总记录数
	private String FromClient; // 来自哪？ 1表示来自网页，2表示来自手机应用

	/** 合买数据 */
	private String shareMoney; // 每份金额
	private String share; // 每份数
	private String surplusShare; // 剩余份数
	private String initiateUserID; // 发起人ID
	private String initiateName; // 发起人名称
	private String level; // 发起人历史战绩

	private String assureMoney; // 保底金额
	private String assureShare; // 保底份数
	private String title; // 方案标题
	private String schemeBonusScale; // 佣金比
	private String secrecyLevel; // 保密设置 ( 0 不保密 1 到截止 2 到开奖 3 永远)
	private String schedule; // 进度
	private String description; // 方案描述
	private String myBuyMoney; // 认购金额
	private String myBuyShare; // 认购份数

	/** 状态 **/
	private String quashStatus; // 撒单状态 ( 0未撤单 )
	private String winMoneyNoWithTax; // 中奖金额
	private String schemeIsOpened; // 是否开奖 (False 表示未开奖，True表示已开奖)
	private String isPurchasing; // 是否代购 (True 代购 False 合买)
	private String buyed; // False 未出票 true 已出票
	private String isChase; // 是否是追号
	private String stopWhenWinMoney; // 中奖金额为多少时 停止追号
	private String schemeStatus;

	/** 追号数据 */
	private String sumChaseCount; // 总共追多少期
	private String SumSchemeMoney; // 追号方案金额
	private boolean isExecuted; // 方案是否执行
	private String chaseTaskID; // 追号任务ID
	private String chaseTaskTime; // 执行追号任务时间
	private String sumCompletedCount; // 执行期数
	private String sumUnCompletedCount; // 未执行期数

	private double detailMoney;// 金额
	private double handselMoney;// 彩金

	// 新增九个字段
	// private int id; // 传值id //重复

	private String orderTime; // 日期

	// private String description; // 描述 //重复

	// private double money; // 金额 // 重复

	private double handselAmount; // 彩金

	private int orderType; // 订单类型 -1：充值 0：普通代购订单 1：合买订单 2：追号订单

	private String orderTitle; // 标题

	private int type; // 类型 1：投注 2：中奖 3：充值 4：提款

	private int schemeId;// 方案表ID

	public String getOrderTime() {
		return orderTime;
	}

	public void setOrderTime(String orderTime) {
		this.orderTime = orderTime;
	}

	public double getHandselAmount() {
		return handselAmount;
	}

	public void setHandselAmount(double handselAmount) {
		this.handselAmount = handselAmount;
	}

	public int getOrderType() {
		return orderType;
	}

	public void setOrderType(int orderType) {
		this.orderType = orderType;
	}

	public String getOrderTitle() {
		return orderTitle;
	}

	public void setOrderTitle(String orderTitle) {
		this.orderTitle = orderTitle;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public int getSchemeId() {
		return schemeId;
	}

	public void setSchemeId(int schemeId) {
		this.schemeId = schemeId;
	}

	public String getDetailMoney() {

		DecimalFormat format = new DecimalFormat("#####0.00");
		return format.format(detailMoney);
	}

	public void setDetailMoney(double detailMoney) {
		this.detailMoney = detailMoney;
	}

	public String getHandselMoney() {

		DecimalFormat format = new DecimalFormat("#####0.00");

		return format.format(handselMoney);
	}

	public void setHandselMoney(double handselMoney) {
		this.handselMoney = handselMoney;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getSchemeNumber() {
		return schemeNumber;
	}

	public void setSchemeNumber(String schemeNumber) {
		this.schemeNumber = schemeNumber;
	}

	public String getMoney() {
		return money;
	}

	public void setMoney(String money) {
		this.money = money;
	}

	public String getShareMoney() {
		return shareMoney;
	}

	public void setShareMoney(String shareMoney) {
		this.shareMoney = shareMoney;
	}

	public String getShare() {
		return share;
	}

	public void setShare(String share) {
		this.share = share;
	}

	public String getSurplusShare() {
		return surplusShare;
	}

	public void setSurplusShare(String surplusShare) {
		this.surplusShare = surplusShare;
	}

	public String getInitiateUserID() {
		return initiateUserID;
	}

	public String getCountNotes() {
		return countNotes;
	}

	public void setCountNotes(String countNotes) {
		this.countNotes = countNotes;
	}

	public void setInitiateUserID(String initiateUserID) {
		this.initiateUserID = initiateUserID;
	}

	public String getInitiateName() {
		return initiateName;
	}

	public void setInitiateName(String initiateName) {
		this.initiateName = initiateName;
	}

	public String getLevel() {
		return level;
	}

	public void setLevel(String level) {
		this.level = level;
	}

	public String getAssureMoney() {

		return assureMoney;
	}

	public void setAssureMoney(String assureMoney) {

		this.assureMoney = assureMoney;
	}

	public String getAssureShare() {
		return assureShare;
	}

	public void setAssureShare(String assureShare) {
		this.assureShare = assureShare;
	}

	public String getQuashStatus() {
		return quashStatus;
	}

	public void setQuashStatus(String quashStatus) {
		this.quashStatus = quashStatus;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getWinMoneyNoWithTax() {
		return winMoneyNoWithTax;
	}

	public void setWinMoneyNoWithTax(String winMoneyNoWithTax) {
		this.winMoneyNoWithTax = winMoneyNoWithTax;
	}

	public String getSchemeBonusScale() {
		return schemeBonusScale;
	}

	public void setSchemeBonusScale(String schemeBonusScale) {
		this.schemeBonusScale = schemeBonusScale;
	}

	public String getSecrecyLevel() {
		return secrecyLevel;
	}

	public void setSecrecyLevel(String secrecyLevel) {
		this.secrecyLevel = secrecyLevel;
	}

	public String getSchedule() {
		return schedule;
	}

	public void setSchedule(String schedule) {
		this.schedule = schedule;
	}

	public String getSchemeIsOpened() {
		return schemeIsOpened;
	}

	public void setSchemeIsOpened(String schemeIsOpened) {
		this.schemeIsOpened = schemeIsOpened;
	}

	public String getLotteryNumber() {
		return lotteryNumber;
	}

	public void setLotteryNumber(String lotteryNumber) {
		this.lotteryNumber = lotteryNumber;
	}

	public String getIsPurchasing() {
		return isPurchasing;
	}

	public void setIsPurchasing(String isPurchasing) {
		this.isPurchasing = isPurchasing;
	}

	public String getLotteryID() {
		return lotteryID;
	}

	public void setLotteryID(String lotteryID) {
		this.lotteryID = lotteryID;
	}

	public String getLotteryName() {
		return lotteryName;
	}

	public void setLotteryName(String lotteryName) {
		this.lotteryName = lotteryName;
	}

	public String getPlayTypeID() {
		return playTypeID;
	}

	public void setPlayTypeID(String playTypeID) {
		this.playTypeID = playTypeID;
	}

	public String getPlayTypeName() {
		return playTypeName;
	}

	public void setPlayTypeName(String playTypeName) {
		this.playTypeName = playTypeName;
	}

	public String getIsuseID() {
		return isuseID;
	}

	public void setIsuseID(String isuseID) {
		this.isuseID = isuseID;
	}

	public String getIsuseName() {
		return isuseName;
	}

	public void setIsuseName(String isuseName) {
		this.isuseName = isuseName;
	}

	public String getSerialNumber() {
		return SerialNumber;
	}

	public void setSerialNumber(String serialNumber) {
		SerialNumber = serialNumber;
	}

	public String getRecordCount() {
		return RecordCount;
	}

	public void setRecordCount(String recordCount) {
		RecordCount = recordCount;
	}

	public String getWinNumber() {
		return winNumber;
	}

	public void setWinNumber(String winNumber) {
		this.winNumber = winNumber;
	}

	public String getBuyed() {
		return buyed;
	}

	public void setBuyed(String buyed) {
		this.buyed = buyed;
	}

	public String getDateTime() {
		return dateTime;
	}

	public void setDateTime(String dateTime) {
		this.dateTime = dateTime;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getMultiple() {
		return multiple;
	}

	public void setMultiple(String multiple) {
		this.multiple = multiple;
	}

	public String getIsChase() {
		return isChase;
	}

	public void setIsChase(String isChase) {
		this.isChase = isChase;
	}

	public String getMyBuyMoney() {
		return myBuyMoney;
	}

	public void setMyBuyMoney(String myBuyMoney) {
		this.myBuyMoney = myBuyMoney;
	}

	public String getMyBuyShare() {
		return myBuyShare;
	}

	public void setMyBuyShare(String myBuyShare) {
		this.myBuyShare = myBuyShare;
	}

	public String getFromClient() {
		return FromClient;
	}

	public void setFromClient(String fromClient) {
		FromClient = fromClient;
	}

	public String getSumChaseCount() {
		return sumChaseCount;
	}

	public void setSumChaseCount(String sumChaseCount) {
		this.sumChaseCount = sumChaseCount;
	}

	public String getSumSchemeMoney() {
		return SumSchemeMoney;
	}

	public void setSumSchemeMoney(String sumSchemeMoney) {
		SumSchemeMoney = sumSchemeMoney;
	}

	public boolean isExecuted() {
		return isExecuted;
	}

	public void setExecuted(boolean isExecuted) {
		this.isExecuted = isExecuted;
	}

	public String getChaseTaskID() {
		return chaseTaskID;
	}

	public void setChaseTaskID(String chaseTaskID) {
		this.chaseTaskID = chaseTaskID;
	}

	public String getChaseTaskTime() {
		return chaseTaskTime;
	}

	public void setChaseTaskTime(String chaseTaskTime) {
		this.chaseTaskTime = chaseTaskTime;
	}

	public String getStopWhenWinMoney() {
		return stopWhenWinMoney;
	}

	public void setStopWhenWinMoney(String stopWhenWinMoney) {
		this.stopWhenWinMoney = stopWhenWinMoney;
	}

	public String getSumCompletedCount() {
		return sumCompletedCount;
	}

	public void setSumCompletedCount(String sumCompletedCount) {
		this.sumCompletedCount = sumCompletedCount;
	}

	public String getSumUnCompletedCount() {
		return sumUnCompletedCount;
	}

	public void setSumUnCompletedCount(String sumUnCompletedCount) {
		this.sumUnCompletedCount = sumUnCompletedCount;
	}

	public String getSchemeStatus() {
		return schemeStatus;
	}

	public void setSchemeStatus(String schemeStatus) {
		this.schemeStatus = schemeStatus;
	}

}
